<script setup lang="ts">
const { $get } = use$fetch();
await $get<IdResp>("/id", (v) => {
  navigateTo(`/${v?.id}`);
  return v;
});
</script>

<template></template>
